package com.cx.mall.api.cart;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "mall-cart-service")
public interface CartFeign {

    @DeleteMapping("/cart/delete/{ids}")
    void deleteByIds(@PathVariable("ids") List<String> ids);
}
